package com.chart.service;

import com.chart.model.StudentEntity;

import java.util.List;

/**
 * 学生接口
 */
public interface StudentService {

    void add(StudentEntity student);

    List<StudentEntity> getAll();

    List<StudentEntity> getListByCondition(StudentEntity student,Integer startScore,Integer endScore,Integer startTotalScore,Integer endTotalScore);


    /**
     * 修改
     * @return
     */
    void updateStudent(StudentEntity student);

    /**
     * 删除
     * @return
     */
    void deleteStudent(StudentEntity student);
}
